<?php
class Admin_IndexController extends Zend_Controller_Action{
	public function init(){
		$options = array(
				'layout'=>'index',
				'layoutPath'=>APPLICATION_PATH.'/layouts/admin'
		);
		Zend_Layout::startMvc($options);
	}
	
	public function indexAction(){
		//echo $this->_request->getParam('idStr');
		//echo $this->_request->getParam('page');
// 		$md = new Application_Model_DbTable_Product();
// 		$select = $md->select()->setIntegrityCheck(false)->from('tbl_product')
// 			->join("tbl_manufacture", "product_manufacture_id = manufacture_id");
// 		$rs = $md->fetchAll($select);
// 		echo '<pre>';
// 			echo $rs[0]->manufacture_name;
// 			echo $rs[0]->findParentRow('Application_Model_DbTable_Manufacture')->manufacture_name;
// 		echo '</pre>';
	}
	public function errorAction(){
		echo $this->_request->getParam('idStr');
		echo $this->_request->getParam('page');
	}
	
}